
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Region;
import com.cmc.dao.RegionDao;

public interface RegionManager extends Manager {
    /**
     * Retrieves all of the regions
     */
    public List getRegions(Region region);

    /**
     * Gets region's information based on id.
     * @param id the region's id
     * @return region populated region object
     */
    public Region getRegion(final String id);

    /**
     * Saves a region's information
     * @param region the object to be saved
     */
    public void saveRegion(Region region);

    /**
     * Removes a region from the database by id
     * @param id the region's id
     */
    public void removeRegion(final String id);
}

